//
//  XGSecureSetingTableViewController.m
//  Instagram
//
//  Created by monkey on 2019/4/20.
//  Copyright © 2019 itcast. All rights reserved.
//

#import "XGSecureSetingTableViewController.h"

#import "XGUpdatePasswordViewController.h"
#import "XGUpdateEmailViewController.h"

@interface XGSecureSetingTableViewController ()

@end

@implementation XGSecureSetingTableViewController

- (void)updatePassword
{
    XGUpdatePasswordViewController *viewController = [[XGUpdatePasswordViewController alloc] init];
    [self.navigationController pushViewController:viewController animated:YES];
}

- (void)updateEmail
{
    XGUpdateEmailViewController *viewController = [[XGUpdateEmailViewController alloc] init];
    [self.navigationController pushViewController:viewController animated:YES];
}

@end
